﻿<script id="tpl-customer-list" type="text/html">    
{{#Data}}
<tr id="c-{{CustomerId}}">    
    <td><div class="ml5"><input type="checkbox" value="{{CustomerId}}"/></div></td>
    <td class="aligncenter">{{ItemIndex}}</td>
    <td>{{ContactName}}</td>
    <td>{{Mobile}}</td>
    <td>{{Email}}</td>
    <td>{{Address}}</td>
    <td>{{Description}}</td>
    <td>{{TotalOrderAndMoney}}</td>
    <td class="aligncenter">{{{IconStatus}}}</td>
    <td>
        <a class="btn14 mr5 topDir" title="Sửa" onclick="Customer.GetCustomer({{CustomerId}});">
            <img alt="" src="/images/icons/dark/pencil.png"/>
        </a>
        <a class="btn14 topDir" title="Xóa" onclick="Customer.Delete({{CustomerId}});">
            <img alt="" src="/images/icons/dark/close.png"/>
        </a>
    </td>
</tr>                        
{{/Data}}        

{{^Data}}           
<tr>
    <td colspan="10">Không có dữ liệu!</td>
</tr>
{{/Data}}
</script>